<?php

foreach($module->classes as $class) {
  $class->title = $class->getName();
  $class->url = $class->getURL();
  $class->date = $class->getNextEventDate();
  $class->excerpt = $class->getExcerpt();
  $class->thumb = $class->getImageThumb();
  $class->link_text = "Learn More »";

  snippet('template-horizontal-list.php', array('post'=>$class));
}

?>
